package com.lnsf.model;

public class Cart {

	int shid;
	int gid;
	float price;
	int num;
	public int getShid() {
		return shid;
	}
	public void setShid(int shid) {
		this.shid = shid;
	}
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public Cart(int shid, int gid, float price, int num) {
		super();
		this.shid = shid;
		this.gid = gid;
		this.price = price;
		this.num = num;
	}
	@Override
	public String toString() {
		return  shid + "\t\t" + gid + "\t\t" + price + "\t\t" + num;
	}

	
}
